package com.example.staticProxy.client;

import com.example.service.UserService;
import com.example.service.impl.UserServiceImpl;
import com.example.staticProxy.Proxy.ProxyByInterface;

public class ClientByInterface {
    public static void main(String[] args) {
        UserService service = ProxyByInterface.getProxy(new UserServiceImpl());
        service.addOne();
        service.deleteOne();
    }
}
